package com.ruoyi.back.domain

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.*

@ApiModel("渠道功能关联参数")
@Entity
@Table(name = "fly_channel_function")
@TableName("fly_channel_function")
data class ChannelFunction(

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id 更新的时候需要传递")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long? = null,

    @ApiModelProperty("功能id")
    var functionId: Long? = null,

    @ApiModelProperty("渠道id")
    var channelId: Long? = null,

    @ApiModelProperty("多久后 显示 单位分钟")
    var delay: Long? = null,

)
